    <ul id="account-menu" class="pull-right dropdown-menu dropdown-custom dropdown-menu-right">
        <li class="dropdown-header text-center">
            <i class="fa fa-user-o"></i> {{current_user.username}}
        </li>
        {% if current_user.is_staff %}
        <li>
            <a href="/osr-admin">
                <span class="fa fa-dashboard"></span>
                {{_("管理台")}}
            </a>
        </li>
        {% endif %}
        <li class="divider"></li>
        <li>
            <a href="/content/writer">
                <i class="fa fa-pencil-square-o "></i>{{_("发布")}}
            </a>
             <a href="/user/message">
                <i class="fa fa-bell-o"></i>
             <span class="badge badge-danger pull-right">{{g.site_global.user_msg.msg_count}}</span>
                {{_("消息")}}
            </a>
            <a href="/user">
                <span class="fa fa-at"></span>
                {{_("我的主页")}}
            </a>
            <a href="/account/settings?set=basis">
                <span class="fa fa-cog"></span>
                {{_("设置")}}
            </a>
            <a href="/account/settings?set=profile" class="visible-xs">
                <span class="fa fa-vcard"></span>
                {{_("个人资料")}}
            </a>


        </li>
        <li class="divider"></li>
        <li>
            <a class="osr-pointer" onclick="sign_out()">
            <span class="fa fa-sign-out"></span>
                {{_("退出")}}
            </a>
        </li>
   </ul>